$OpenBSD: patch-ui_views_views_delegate_h,v 1.4 2015/07/23 13:44:04 robert Exp $
--- ui/views/views_delegate.h.orig.port	Wed Jul 15 22:30:11 2015
+++ ui/views/views_delegate.h	Wed Jul 22 12:52:55 2015
@@ -101,7 +101,7 @@ class VIEWS_EXPORT ViewsDelegate {
   // Returns true if the window passed in is in the Windows 8 metro
   // environment.
   virtual bool IsWindowInMetro(gfx::NativeWindow window) const;
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
   virtual gfx::ImageSkia* GetDefaultWindowIcon() const;
 #endif
 
@@ -139,7 +139,7 @@ class VIEWS_EXPORT ViewsDelegate {
   // Returns the user-visible name of the application.
   virtual std::string GetApplicationName();
 
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_BSD) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
   // Get a task runner suitable for posting initialization tasks for
   // Aura Linux accessibility.
   virtual scoped_refptr<base::TaskRunner>
